<?php
class OrderModel extends TransModel {

	protected $_validate = array(
		array('customer_id','require','客户必须选择！'), //默认情况下用正则进行验证
	);
	
	protected $_auto = array(
        array('create_time','intime',3,'callback'),
        array('update_time','time',3,'function'),
        array('mano','getNO',1,'callback'), //单号
        
        array('invoice','getCheckBoxValue',3,'callback'),
    );
}
?>
